﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Flame.Dlr.Helper
{
   /* public static class LanguageHelper
    {
        public static Languages Parse(string name)
        {
            Languages language;
            if (Enum.TryParse<Languages>(name, out language)) return language;

           /* switch (name.ToLower())
            {
                case "txt":
                    return Languages.None;
                case "cs":
                    return Languages.CSharp;
                case "css":
                    return Languages.CSharpScript;
                case "py":
                case "python":
                    return Languages.IronPython;
                case "rb":
                case "ruby":
                    return Languages.IronRuby;
                case "ps":
                    return Languages.Powershell;
                default:
                    return Languages.Bad;
            }* /
            return Languages.Bad;
        }
    }*/
}
